package com.yuanfud.blog.VO;

import java.util.Date;

public class NewsVO {
    private Integer id;

    private String title;

    private String author;

    private String content;

    private String inputDate;

    private int inputUser;

    private int type;

    private int readNum;

    private String newsImgAddr;
    
    private boolean isDel;

    public boolean isDel() {
        return isDel;
    }

    public void setDel(boolean del) {
        isDel = del;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getInputDate() {
        return inputDate;
    }

    public void setInputDate(String inputDate) {
        this.inputDate = inputDate;
    }

    public int getInputUser() {
        return inputUser;
    }

    public void setInputUser(int inputUser) {
        this.inputUser = inputUser;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getReadNum() {
        return readNum;
    }

    public void setReadNum(int readNum) {
        this.readNum = readNum;
    }

    public String getNewsImgAddr() {
        return newsImgAddr;
    }

    public void setNewsImgAddr(String newsImgAddr) {
        this.newsImgAddr = newsImgAddr;
    }

    @Override
    public String toString() {
        return "NewsVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", inputDate='" + inputDate + '\'' +
                ", inputUser=" + inputUser +
                ", type=" + type +
                ", readNum=" + readNum +
                ", newsImgAddr='" + newsImgAddr + '\'' +
                ", isDel=" + isDel +
                '}';
    }
}
